WCML\Compatibility\WcProductAddons\MulticurrencyHooks A

Total Complexity 67
Dependencies 5
Dependents 1
Total lines 383
Lines of code 210
Logical lines of code 101
Comment lines 100
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
convertAddonPriceSavedInSession()
A
50 9 26
product_addons_price_filter()
S
59 6 14
update_custom_prices_values()
S
56 5 18
saveGlobalAddonPricesSetting()
S
65 6 8
converted_addon_price()
S
59 4 15
filter_booking_addon_product_in_cart_contents()
S
62 4 11
updateMultipleOptionsPrices()
S
61 4 11
getPricesDialogModel()
S
55 3 18
add_hooks()
S
56 3 16
isProductCustomPricesOn()
S
66 3 9
getGlobalAddonPricesStatus()
S
66 3 8
dialog_button_after_option_row()
S
71 3 5
maybeUpdateCustomPricesValues()
S
74 2 5
dialog_button_before_options()
S
77 2 3
updateSingleOptionPrices()
S
69 2 6
getCustomPricesSettingsModel()
S
63 1 11
__construct()
S
81 1 3
load_dialog_resources()
S
77 1 3
onGlobalAddonsUpdated()
S
81 1 3
custom_prices_settings_block()
S
79 1 3
renderEditPriceElement()
S
79 1 3
getTwigLoader()
S
79 1 3
getOnePriceTypes()
S
69 1 8